package com.vitabuybuy.tv.ui.auth

import android.os.Bundle
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ActivityRegisterBinding
import com.library.common.base.BaseActivity
import com.vitabuybuy.tv.ui.auth.viewmodel.AuthViewModel
import kotlinx.android.synthetic.main.activity_register_success.*

class RegisterSuccessActivity : BaseActivity<AuthViewModel, ActivityRegisterBinding>() {

    companion object {
        fun openActivity(mContext: BaseActivity<*, *>) {
            mContext.startActivity(null, RegisterSuccessActivity::class.java)
        }
    }
    override val isUseBaseTitleBar: Boolean
        get() = true
    override val layoutId: Int
        get() = R.layout.activity_register_success

    override fun initView(savedInstanceState: Bundle?) {
        setTitle(getString(R.string.register_success))
    }

    override fun eventHandling() {
        btnEnterHome.setOnClickListener { finish() }
    }
}
